/* Noto Sans SC 自托管（WOFF2），权重 400/500/600/700/800/900 */

@font-face {
  font-family: "Noto Sans SC";
  src: url("./noto-sans-sc/ns-sc-500.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans SC";
  src: url("./noto-sans-sc/ns-sc-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans SC";
  src: url("./noto-sans-sc/ns-sc-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans SC";
  src: url("./noto-sans-sc/ns-sc-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans SC";
  src: url("./noto-sans-sc/ns-sc-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans SC";
  src: url("./noto-sans-sc/ns-sc-900.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* 推荐的全局字体栈（按需调整顺序） */
:root {
  --font-sans: "Noto Sans SC", system-ui, -apple-system, "Microsoft YaHei", Arial, sans-serif;
}

body {
  font-family: var(--font-sans);
}